Обсуждение шаблона:Wikidata/p570

Материал из Википедии — свободной энциклопедии
Перейти к навигации Перейти к поиску

Help for slovenian Wikipedia[править код]

I am transferring your templates and modules for Wikidata into slovenian Wikipedia. I have problem with this template. It works fine here, but not for us. Example: if I add {{Wikidata/p570}} into Шекспир, Уильям I get 23 апреля 1616[1] (51 год) and hidden category Категория:Википедия:Статьи с источниками из Викиданных.

In slovenian wiki I add {{Wikidata/p570/peskovnik}} (this is still sandbox) into sl:William Shakespeare and I get 23 апреля 1616[1]sl:Кategorija:Članki z viri iz Wikidata (51 год). So, our hidden category is displayed as output and it is not actualy hidden category. Any ideas? --Pinky sl 19:30, 1 ноября 2014 (UTC)[ответить]

Problem with dates from Wikidata in "month year" format (without day)[править код]

If the date of death in Wikidata is set as "december 2014" ("децембер 2014") or any other month in this format (I tested it), the displayed date is incorrect. It displays as "november 2014" ("ноябрь 2014")- one month lesser then it should be. You can check it in our sl:Janez Zor (d:Q12792137). Regards --Pinky sl 12:57, 7 декабря 2014 (UTC)[ответить]

Туча can you help me with this problem too? --Pinky sl 13:01, 7 декабря 2014 (UTC)[ответить]
@Pinky sl: Не знаю зачем нужно указывать только месяц, когда есть точная дата, но, допустим, это нужно. Подозреваю, что проблема в том, что os.time ожидает день в промежутке от 1-31, а приходят данные, что он нулевой. В результате получается, что месяц ещё не начался. В русской википедии, кстати, вероятно, есть аналогичная проблема. Думаю, что такая правка её исправит. --Туча 12:45, 9 декабря 2014 (UTC)[ответить]
You are a master, it works - a user spotted this problem, so I thought maybe there is a bug, and if we solve these one, there is a possibilty that we will solve many others. I also spotted one similar problem sl:Christoph Amberger (d:Q653163). Christoph Amberger has jus "year" format (born in 1505), but infobox shows 1504. --Pinky sl 18:53, 9 декабря 2014 (UTC)[ответить]
Это точно такая же проблема, что месяц(month) ожидается в диапазоне от 1 до 12, а в функцию отправляется ноль, в результате чего год получается ещё не начался. Хотелось бы обратить внимание, что в русской википедии: Амбергер, Христоф - указаны другие данные о времени рождения и смерти, и не факт что на викиданных правильные, надо разбираться предметно. Удачи. --Туча 19:53, 9 декабря 2014 (UTC)[ответить]
Thanks for your speedy solution ... I am going slowly through our person infoboxes and removes doubled data, if they are not equal I search through reliable sources and make the correction in Wikidata (and add reference to changed data). It is a slow process but correct one. So thank you again and if I spot something strange, I will be in touch. --Pinky sl 20:40, 9 декабря 2014 (UTC)[ответить]

Julian calendar?[править код]

For Арнульф Каринтийский (sl:Arnulf Koroški - d:Q154936) the returned date of death is "4 декабря 899" instead of "8 декабря 899". Maybe the fact that Wikidata uses Julian calendar, causes this error. I do not know how Julian calendar should work at all. --Pinky sl 12:37, 12 декабря 2014 (UTC)[ответить]

Anyone? Туча? --Pinky sl 15:37, 16 декабря 2014 (UTC)[ответить]